package com.briup.srms.exam.service;

import com.briup.srms.exam.bean.Paper;
import com.briup.srms.exam.bean.extend.PaperExtend;
import com.jacky.base.utils.CustomerException;
import com.jacky.base.utils.PageVM;

public interface IPaperService {
	
	PageVM<Paper> pageQuery(int page,int pageSize);
	
	void saveOrUpdate(Paper paper) throws CustomerException;
	
	void deleteById(long id) throws CustomerException;

	void merge(PaperExtend paper) throws CustomerException ;

	PaperExtend findById(long id);
	
	PaperExtend findByIdWithoutAnswer(long id);

	void edit(PaperExtend paper);

}
